package com.tjec.project.projectLeaderWorkbeanch.domain;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.tjec.framework.aspectj.lang.annotation.Excel;
import com.tjec.project.system.domain.BmsAttachment;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tjec.framework.web.domain.BaseEntity;

import java.util.List;

/**
 * 项目负责人人员对象 bms_leader_member
 * 
 * @author tjec
 * @date 2020-04-14
 */
public class BmsLeaderMember extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id 主键 */
    @JsonIgnore
    private String id;

    /** 项目负责人ID 项目负责人ID */
    @Excel(name = "项目负责人ID")
    @ApiModelProperty("项目负责人ID")
    private String leader;

    /** 用户ID 用户ID */
    @Excel(name = "用户ID")
    @ApiModelProperty("用户ID")
    private String userId;

    /** 角色 角色（0成员，1专家库管理员） */
    @Excel(name = "角色", readConverterExp = "0=成员，1=授权管理员")
    @ApiModelProperty("角色(0=成员，1=授权管理员)")
    private String role;

    /** 姓名 */
    @Excel(name = "姓名")
    @ApiModelProperty("姓名")
    private String nickName;

    /** 帐号状态（0正常 1停用 2未启用） */
    @Excel(name = "帐号状态", readConverterExp = "0=正常,1=停用,2=未启用")
    @ApiModelProperty("账号状态，0=正常,1=停用,2=未启用")
    private String status;

    /** 筹备期项目数 */
    @Excel(name = "筹备期项目数")
    private int preparationNo;

    /** 进行中项目数 */
    @Excel(name = "进行中项目数")
    private int processingNo;

    /** 成果交付项目数 */
    @Excel(name = "成果交付项目数")
    private int deliveryNo;

    /** 项目总数*/
    @Excel(name = "项目总数")
    private int totalNo;

    /** 项目总数*/
    @Excel(name = "进行中项目")
    private String projectName;

    /** UUID  */
    private String guid;

    /** UUID  */
    private String globalId;

    /** 项目ID  */
    private String projectId;
    
    private String agencyFlag;
    
    /**
     * bpm用户id
     */
    private String bpmUserId;

    /** userGlobalId */
    @ApiModelProperty(value = "用户表userGlobalId")
    private String userGlobalId;

    @ApiModelProperty("员工编号")
    private String jobNo;

    @ApiModelProperty("手机号码")
    private String phonenumber;

    @ApiModelProperty("人事主管部门")
    private String personnelDept;

    private String[] guids;

    public String getPersonnelDept() {
        return personnelDept;
    }

    public void setPersonnelDept(String personnelDept) {
        this.personnelDept = personnelDept;
    }

    public String[] getGuids() {
        return guids;
    }

    public void setGuids(String[] guids) {
        this.guids = guids;
    }

    public String getJobNo() {
        return jobNo;
    }

    public void setJobNo(String jobNo) {
        this.jobNo = jobNo;
    }

    public String getPhonenumber() {
        return phonenumber;
    }

    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getGlobalId() {
        return globalId;
    }

    public void setGlobalId(String globalId) {
        this.globalId = globalId;
    }

    public String getUserGlobalId() {
        return userGlobalId;
    }

    public void setUserGlobalId(String userGlobalId) {
        this.userGlobalId = userGlobalId;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getGuid() {
        return guid;
    }

    public void setGuid(String guid) {
        this.guid = guid;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public int getPreparationNo() {
        return preparationNo;
    }

    public void setPreparationNo(int preparationNo) {
        this.preparationNo = preparationNo;
    }

    public int getProcessingNo() {
        return processingNo;
    }

    public void setProcessingNo(int processingNo) {
        this.processingNo = processingNo;
    }

    public int getDeliveryNo() {
        return deliveryNo;
    }

    public void setDeliveryNo(int deliveryNo) {
        this.deliveryNo = deliveryNo;
    }

    public int getTotalNo() {
        return totalNo;
    }

    public void setTotalNo(int totalNo) {
        this.totalNo = totalNo;
    }


    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setLeader(String leader)
    {
        this.leader = leader;
    }

    public String getLeader()
    {
        return leader;
    }
    public void setUserId(String userId)
    {
        this.userId = userId;
    }

    public String getUserId()
    {
        return userId;
    }
    public void setRole(String role) 
    {
        this.role = role;
    }

    public String getRole() 
    {
        return role;
    }

    @Override
    public String toString() {
        return "BmsLeaderMember{" +
                "id='" + id + '\'' +
                ", leader='" + leader + '\'' +
                ", userId='" + userId + '\'' +
                ", role='" + role + '\'' +
                ", nickName='" + nickName + '\'' +
                ", status='" + status + '\'' +
                ", preparationNo=" + preparationNo +
                ", processingNo=" + processingNo +
                ", deliveryNo=" + deliveryNo +
                ", totalNo=" + totalNo +
                ", projectName='" + projectName + '\'' +
                ", guid='" + guid + '\'' +
                ", globalId='" + globalId + '\'' +
                ", userGlobalId='" + userGlobalId + '\'' +
                ", bpmUserId='" + bpmUserId + '\'' +
                ", agencyFlag='" + agencyFlag + '\'' +
                '}';
    }

	public String getBpmUserId() {
		return bpmUserId;
	}

	public void setBpmUserId(String bpmUserId) {
		this.bpmUserId = bpmUserId;
	}

	public String getAgencyFlag() {
		return agencyFlag;
	}

	public void setAgencyFlag(String agencyFlag) {
		this.agencyFlag = agencyFlag;
	}
}
